package design.Builder;

/**
 * Created by looper on 2017/8/15.
 */
public class BuilderTest {
  public static void main(String[] args) {
    LiveDirector liveDirector = new LiveDirector();

    //仲永
    PersonLive zhongyong = liveDirector.generateLive(new GiftedChildrenBuilder());

    //姜子牙
    PersonLive jiangziya = liveDirector.generateLive(new OldSuccessBuilder());
  }

}
